/*
 * DatabaseException.java
 * 
 * @version 1.0, April 2, 2011
 * CS 2340 Team 10: Cyberdyne Systems
 */
package edu.gatech.oad.cyberdoc.database;

/**
 * Thrown when an error occurs trying to perform operations on the database.
 * 
 * @author John Girata
 * @version 1.0, April 2, 2011
 */
@SuppressWarnings("serial")
public class DatabaseException extends Exception {
	
	/**
	 * Creates a new exception with the given exception as the cause.
	 * 
	 * @param cause The cause of this exception
	 */
	public DatabaseException(Exception cause) {
		super(cause);
	}
	
	/**
	 * Creates a new exception with the given message.
	 * 
	 * @param message The reason for throwing this exception
	 */
	public DatabaseException(String message) {
		super(message);
	}
}
